import Vue from 'vue'
import App from './App'
import Http from './common/http.js'

Vue.config.productionTip = false

// 图标组件
import faicon from '@/components/fa-icon/fa-icon.vue'
Vue.component('fa-icon',faicon)

//图片加载不出来插件
import himg from '@/components/dh-image/dh-image.vue' 
Vue.component('himg',himg)

import uniloading from '@/components/uni-load-more/uni-load-more.vue'
Vue.component('uni-loading',uniloading)

Vue.prototype.websiteUrl = 'http://localhost:8088/book/zy/';  
//封装的promise方法
Vue.prototype.webhttp = Http


App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
